package com.dw.model.article.entitys;


import cn.hutool.core.date.DateTime;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import org.dromara.easyes.annotation.IndexField;
import org.dromara.easyes.annotation.IndexId;
import org.dromara.easyes.annotation.IndexName;
import org.dromara.easyes.annotation.rely.Analyzer;
import org.dromara.easyes.annotation.rely.FieldType;
import org.dromara.easyes.annotation.rely.IdType;

import java.io.Serializable;
import java.util.Date;

/**
 * 文章信息表(ArticleInfo)表实体类
 *
 * @author makejava
 * @since 2024-10-05 17:39:10
 */
@Data
@IndexName("article_info")
@TableName("article_info")
public class ArticleInfo implements Serializable {
//主键
    @TableId
    private Long leiId;

    @IndexField(fieldType = FieldType.KEYWORD, analyzer = Analyzer.IK_SMART)
    private String nickname;
//文章标题
    @IndexField(fieldType = FieldType.TEXT, analyzer = Analyzer.IK_SMART, searchAnalyzer = Analyzer.IK_MAX_WORD)
    private String articleTitle;
//文章内容
    @IndexField(fieldType = FieldType.TEXT, analyzer = Analyzer.IK_SMART, searchAnalyzer = Analyzer.IK_MAX_WORD)
    private String articleContent;
//文章状态
    private Integer articleStatus;
//文章图片
    private String articleImage;
    // 文章热度
    private Long articleFire;
//创建人
    private Long createdBy;
//修改人
    private Long updatedBy;
//创建时间
    private Date createdTime;
//修改时间
    private Date updatedTime;
//逻辑删除
    private Integer isDeleted;


}

